package com.qf.jie.service;

import com.qf.jie.entity.po.Cart;
import com.qf.jie.entity.vo.RespBean;
import com.qf.jie.utils.DBUtils;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CartService extends BaseService<Cart> {

    //添加购物车
    RespBean addCart(HttpServletRequest req, String commodity_id);

    //删除购物车
    RespBean deletetById(String id);

    //获取购物车
    RespBean getListByUser_id(String user_id);
}
